package com.qmctl.rest.bean.stockquery.response;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name="item")
public class ItemClazz{
  public ItemClazz(){
  }
private String warehouseCode;
private String itemCode;
private String itemId;
private String inventoryType;
private long quantity;
private long lockQuantity;
private String batchCode;
private String productDate;
private String expireDate;
private String produceCode;
private ExtendPropsClazz extendProps;
  public String getWarehouseCode(){
    return warehouseCode;
  }
  public void setWarehouseCode(String sWarehouseCode){
    warehouseCode = sWarehouseCode;
  }
  public String getItemCode(){
    return itemCode;
  }
  public void setItemCode(String sItemCode){
    itemCode = sItemCode;
  }
  public String getItemId(){
    return itemId;
  }
  public void setItemId(String sItemId){
    itemId = sItemId;
  }
  public long getQuantity(){
    return quantity;
  }
  public void setQuantity(long iQuantity){
    quantity = iQuantity;
  }
  public long getLockQuantity(){
    return lockQuantity;
  }
  public void setLockQuantity(long iLockQuantity){
    lockQuantity = iLockQuantity;
  }
  public String getBatchCode(){
    return batchCode;
  }
  public void setBatchCode(String sBatchCode){
    batchCode = sBatchCode;
  }
  public String getProduceCode(){
    return produceCode;
  }
  public String getInventoryType() {
	return inventoryType;
}
public void setInventoryType(String inventoryType) {
	this.inventoryType = inventoryType;
}
public String getProductDate() {
	return productDate;
}
public void setProductDate(String productDate) {
	this.productDate = productDate;
}
public String getExpireDate() {
	return expireDate;
}
public void setExpireDate(String expireDate) {
	this.expireDate = expireDate;
}
public void setProduceCode(String sProduceCode){
    produceCode = sProduceCode;
  }
  public ExtendPropsClazz getExtendProps(){
    return extendProps;
  }
  public void setExtendProps(ExtendPropsClazz clazzExtendProps){
    extendProps = clazzExtendProps;
  }
    
  public ItemClazz(com.qmctl.rest.entity.InventoryRollingInfo beanClazz){
    warehouseCode = beanClazz.getWarehouseCode();
    itemCode = beanClazz.getItemCode();
    itemId = beanClazz.getItemId();
    inventoryType = beanClazz.getInventoryType();
    quantity = beanClazz.getQuantity();
    lockQuantity = 0;
    batchCode = beanClazz.getBatchCode();
    productDate = beanClazz.getProductDate();
    expireDate = beanClazz.getExpireDate();
    produceCode = beanClazz.getProduceCode();
    //extendProps = beanClazz.getExtendProps();
  }
}
